package com.psp.park.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 合作登记
 **/
public class CompanyCheckInParam {
	@NotEmpty(message = "公司名称不能为空！")
	private String name; // 公司名称
	@NotEmpty(message = "公司简介不能为空！")
	private String brief; // 公司简介
	private String charterImg; // 上传的营业执照复印件
	private String file; // 公司相关文件
	@NotEmpty(message = "联系人不能为空！")
	private String userName; // 联系人
	@NotEmpty(message = "手机号不能为空！")
	@Pattern(regexp = "^(1)\\d{10}$", message = "手机号格式不正确！")
	private String phone; // 联系电话
	private String email; // 联系邮箱
	@NotEmpty(message = "至少选择一个业务领域！")
	private String cateCode; // 业务领域

	public void setName(String name) {
 		this.name = name;
	}

	public String getName() {
 		return name;
	}

	public void setBrief(String brief) {
 		this.brief = brief;
	}

	public String getBrief() {
 		return brief;
	}

	public void setCharterImg(String charterImg) {
 		this.charterImg = charterImg;
	}

	public String getCharterImg() {
 		return charterImg;
	}

	public void setFile(String file) {
 		this.file = file;
	}

	public String getFile() {
 		return file;
	}

	public void setUserName(String userName) {
 		this.userName = userName;
	}

	public String getUserName() {
 		return userName;
	}

	public void setPhone(String phone) {
 		this.phone = phone;
	}

	public String getPhone() {
 		return phone;
	}

	public void setEmail(String email) {
 		this.email = email;
	}

	public String getEmail() {
 		return email;
	}

	public void setCateCode(String cateCode) {
 		this.cateCode = cateCode;
	}

	public String getCateCode() {
 		return cateCode;
	}

}
